{include file=$header_start}
{strip}
<script src="{$siteroot}/includes/js/admin/addcms.js" type="text/javascript"></script>
{/strip}
{include file=$header_end}

 <div class="contain">
 
      {include file=$left_menu}
      
      <div class="right_contain">
        
         <div class="heading_box">Add CMS</div>
         <div class="whitebox">
         <!--Message Div Start-->
         {if $msg}
         <div class="masg_div">
           <span>{$msg}</span>
         </div>
         {/if}
         <!--Message Div End-->
         
         <form name="frmaddcms" id="frmaddcms" action="" method="post">
         
         <div>
          <!--Form Contain start-->
           
           <div class="form_fieldbox">
             <dl>
              <dt>Menu Title: <span class="error">*</span></dt>
              <dd><input type="text" class="input" name="submenu_title" id="submenu_title" value="{$smarty.post.submenu_title}"/></dd>
              <div class="clear"></div>
             </dl>
             <dl>
              <dt>Menu Content : <span class="error">*</span></dt>
              <dd>{php}
             	include_once(INCLUDE_FCKEDITOR);
                $sBasePath 			= 	$_SERVER[ 'PHP_SELF' ] ;
                $sBasePath			=	FCKEDITOR_BASEPATH;
                $oFCKeditor 		= 	new FCKeditor('submenu_content');
                $oFCKeditor->BasePath 	= 	$sBasePath;
                $oFCKeditor->Height = '500' ;
                $oFCKeditor->Width = '650' ;
                $oFCKeditor->Value	=	return_fetched_value($_POST['submenu_content']);						
                $oFCKeditor->Create();
              {/php}</dd>
              <div class="clear"></div>
             </dl>
           	
            <dl>
              <dt>Meta Title: <span class="error">*</span></dt>
              <dd><textarea class="input" name="meta_title" id="meta_title">{$smarty.post.meta_title}</textarea></dd>
              <div class="clear"></div>
            </dl>
             
            <dl>
              <dt>Meta Keyword: <span class="error">*</span></dt>
              <dd><textarea class="input" name="meta_keyword" id="meta_keyword">{$smarty.post.meta_keyword}</textarea></dd>
              <div class="clear"></div>
            </dl>
            
             <dl>
              <dt>Meta Description:</dt>
              <dd><textarea class="input" name="meta_description" id="meta_description">{$smarty.post.meta_description}</textarea></dd>
              <div class="clear"></div>
            </dl>
            
              <dt>&nbsp;</dt>
            
              <div class="clear"></div>
             </dl>
            </div>
            
            <!--Form Contain end--> 
          
           <!--Button here start-->
           <div>
            <span><input type="submit" class="admin_btn" value="Submit" name="addcms_btn" id="addcms_btn" /></span>
            <span><input type="button" class="admin_btn" value="Cancel"  onclick="window.location='{$siteroot}/admin/home.php?q=cms&page={$smarty.get.page}';"/></span>
           </div>
            <!--Button here end-->
  
         </div>
         </form>
         
         </div>
        </div>
      
      
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
    
{include file=$footer}